home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc / Sample Code / Sample Editors⁄Viewers / Text Editor / Source / ScriptRunnerSupport.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-13  |  1.2 KB  |  50 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ScriptRunnerSupport.h
  3.  
  4.     Contains:    ScriptRunner support functions
  5.  
  6.     Written by:    Troy Gaul
  7.  
  8.     Copyright:    © 1995 by Apple Computer, Inc., all rights reserved.
  9. */
  10.  
  11. #ifndef _SCRIPTRUNNERSUPPORT_
  12. #define _SCRIPTRUNNERSUPPORT_
  13.  
  14. // --- OpenDoc Includes ---
  15.  
  16. #ifndef _ODTYPES_
  17. #include <ODTypes.h>        // MUST BE BEFORE TOOLBOX INCLUDES
  18. #endif
  19.  
  20. //------------------------------------------------------------------------------
  21. // Forward Declarations
  22. //------------------------------------------------------------------------------
  23.  
  24. class Environment;
  25. class ODDraft;
  26. class ODSession;
  27.  
  28. class Sample_ScriptRunnerAgent;
  29. class Samples_PaletteExt;
  30.  
  31.  
  32. //------------------------------------------------------------------------------
  33. // Function Prototypes
  34. //------------------------------------------------------------------------------
  35.  
  36. ODBoolean IsScriptRunnerLibAvailable(Environment* ev);
  37.  
  38. ODBoolean IsScriptRunnerPlugInLibAvailable(Environment* ev);
  39.  
  40. ODBoolean IsTextTransferExtAvailable(Environment* ev);
  41.  
  42. ODBoolean IsScriptRunnerInstalled(Environment* ev, ODSession* session);
  43.  
  44. Sample_ScriptRunnerAgent* GetScriptRunnerAgent(Environment* ev, ODSession* session);
  45.  
  46. Samples_PaletteExt* AcquireScriptRunner(Environment* ev, ODDraft* draft);
  47.  
  48.  
  49.  
  50. #endif